@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@500;600;700;800;900&display=swap');

*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
}


/* Start Edit BootStrap */
.carousel{
  margin-top: 100px;
}
.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 500px;
  max-height: 500px;
  min-height: 500px;
}

.carousel-control-next, .carousel-control-prev {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5%;
  padding: 0;
  color: #ffffff;
  text-align: center;
  background: 0 0;
  border: 0;
  opacity: .5;
  transition: opacity .15s ease;
}

/* End Edit BootStrap */


/* Start Carousel Style */
.carousel_img{
  position: absolute;
  width: 100%;
}
.carousel_img img{
  position: absolute;
  width: 100%;
  height: 500px;
}

.carousel_color{
  position: absolute;
  width: 100%;
  height: 500px;
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel_color .inside_img{
  position: absolute;
  top: 50%;
  left: 14%;
  transform: translate(-14%,-50%);
  width: 500px;
  height: 400px;
  border-radius: 25px;
}

.descrption_container{
  position: absolute;
  top: 7%;
  right: 10%;
  transform: translate(-10%,0%);
  color: #ffffff;
  text-align: right;
  width: 500px;
  height: 400px;
}

.descrption_container h1{
  padding: 15px;
  font-weight: 900;
}

.descrption_container p{
  padding: 15px;
  font-size:18px;
}

.descrption_container a{
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: #213555;
  color: white;
  padding: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  min-width: 150px;
  height: 50px;
  text-align: center;
  border-radius: 15px;
}

.descrption_container a:hover{
  background-color: #4F709C;
  color: white;
}


@media(max-width:950px){
  .carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 350px;
    max-height: 350px;
    min-height: 350px;
  }
  .carousel_color{
    position: absolute;
    width: 100%;
    height: 350px;
    background-color: rgba(0, 0, 0, 0.6);
  }
  .carousel_color .inside_img{
    display: none;
  }
  .descrption_container{
    color: #ffffff;
    text-align: right;
    width: 90%;
    height: 350px;
    padding: 20px;
  }
  .descrption_container h1{
    padding:0;
    font-weight: 700;
    font-size: 24px;
    filter: drop-shadow(1px 1px 1px black);
  }
  .descrption_container p{
    padding-inline: 10px;
    font-size:14px;
    filter: drop-shadow(1px 1px 1px black);
  }
  .descrption_container a{
    position: absolute;
    bottom: 50px;
    right: 20px;
    background-color: #213555;
    color: white;
    padding: 7px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    min-width: 100px;
    height: 35px;
    text-align: center;
    border-radius: 15px;
  }
}
/* End Carousel Style */